﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;


namespace System.Data.SugarClient
{
	class SugarParameter : DbParameter
	{

		private string _parameterName;
		private object _value;
		private ParameterDirection _direction;
		private string _sourceColumn;
		private DataRowVersion _sourceVersion;
		private bool _sourceColumnNullMapping;
		private int _size;
		private DbType _dbType;

		public override DbType DbType
		{
			get { return this._dbType; }
			set { this._dbType = value; }
		}

		public override ParameterDirection Direction
		{
			get { return this._direction; }
			set { this._direction = value; }
		}

		public override bool IsNullable
		{
			get
			{
				throw new NotImplementedException();
			}
			set
			{
				throw new NotImplementedException();
			}
		}

		public override string ParameterName
		{
			get { return this._parameterName; }
			set { this._parameterName = value; }
		}

		public override void ResetDbType()
		{
			throw new NotImplementedException();
		}

		public override int Size
		{
			get { return this._size; }
			set { this._size = value; }
		}

		public override string SourceColumn
		{
			get { return this._sourceColumn; }
			set { this._sourceColumn = value; }
		}

		public override bool SourceColumnNullMapping
		{
			get { return this._sourceColumnNullMapping; }
			set { this._sourceColumnNullMapping = value; }
		}

		public override DataRowVersion SourceVersion
		{
			get { return this._sourceVersion; }
			set { this._sourceVersion = value; }
		}

		public override object Value
		{
			get { return this._value; }
			set { this._value = value; }
		}
	}
}
